﻿using System;
using SelfService.Model.Models;

namespace 浏览器客户端.Models.Model
{
    public class SysDevice 
    {
        public string Name { get; set; }

        public string Model { get; set; }

        public string Description { get; set; }

        public SysDeviceModeEnum Mode { get; set; }

        public SysDeviceGroup Group { get; set; }

        public Guid GroupId { get; set; }

        public int Port { get; set; }

        public string DllName { get; set; }

        public string DllPath { get; set; }

        public string DllHash { get; set; }

        public Guid? DllZipId { get; set; }

        public FileAttachment DllZip { get; set; }

        public string DllClass { get; set; }

        public string DllWorkSpace { get; set; }

        public CommonYesOrNo IsEnable { get; set; }
    }

    public class FileAttachment 
    {
        public string FileName { get; set; }

        public string FileExt { get; set; }

        public string Path { get; set; }

        public long Length { get; set; }

        public DateTime UploadTime { get; set; }

        public string SaveMode { get; set; }

        public string ExtraInfo { get; set; }

        public string HandlerInfo { get; set; }
    }
}
